package ru.evga.billboard.editor.behaviors;

import java.awt.Graphics2D;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;
import java.awt.event.MouseWheelEvent;


public interface IEditorBehavior
{
    public String getTooltip();
    
    public String getImageName();
    
    public void onMousePressed(MouseEvent e, EditorContext context);

    public void onMouseDragged(MouseEvent e, EditorContext context);

    public void onMouseReleased(MouseEvent e, EditorContext context);

    public void onMouseClicked(MouseEvent e, EditorContext context);

    public void onMouseMoved(MouseEvent e, EditorContext context);

    public void onMouseWheelMoved(MouseWheelEvent e, EditorContext context);

    public void onKeyPressed(KeyEvent e, EditorContext context);

    public void onKeyReleased(KeyEvent e, EditorContext context);

    public void paint(Graphics2D g2, EditorContext context);
}
